<!doctype html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>Axdit Editor</title>
		<style>
			form {
				margin: 0;
			}
			textarea {
				display: block;
			}
		</style>
		<script charset="utf-8" src="http://static.axdit.com/common/onlineEditor/kindeditor/kindeditor-min.js"></script>
		<script charset="utf-8" src="http://static.axdit.com/common/onlineEditor/kindeditor/lang/zh_CN.js"></script>
		<script>
			document.domain = "axdit.com";
			var editor;
			KindEditor.ready(function(K) {
				editor = K.create('textarea[name="content"]', {
					resizeMode : false,
					allowFileManager : false
				});
			});
		</script>
	</head>
	<body style="; margin:0px">
		<textarea name="content" style="width:858px;height:650px;visibility:hidden"></textarea>
	</body>
	<script type="text/javascript">
		function getSelectHtml()
		{
			return editor.selectedHtml();
		}
		function getText()
		{
			return editor.text();
		}
		function isEmpty()
		{
			return editor.isEmpty();
		}
		function getHtml()
		{
			return editor.html();
		}
		function setHtml(html)
		{
			editor.html(html);
		}
		function setText(text)
		{
			editor.text(text);
		}
		function insertHtml(html)
		{
			editor.insertHtml(html);
		}
		function appendHtml(html)
		{
			editor.appendHtml(html);
		}
		if(typeof(parent.editorCompleteCallback) != "undefined")
		{
			var ___loop = self.setInterval("checkedEditor()",75);
			function checkedEditor()
			{
				if(typeof(editor) != 'undefined')
				{
					___loop = window.clearInterval(___loop);
					parent.editorCompleteCallback();
				}
			}
		}
	</script>
</html>
